package lab2;

import java.io.OutputStream;
import java.net.Socket;
import java.util.HashMap;

public class Login implements Serverlet{
    @Override
    public void service(String[] user, HashMap<String,String> map, Socket socket) {
        if (user[0].equals("tomcat") && user[1].equals("s3cret")){
            System.out.println("LoginService Successful...");
        }else{
            System.out.println("username or password is wrong...");
        }
    }
}
